home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / layout / nsIIFrameBoxObject.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  94 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIIFrameBoxObject.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIIFrameBoxObject_h__
  6. #define __gen_nsIIFrameBoxObject_h__
  7.  
  8.  
  9. #ifndef __gen_nsIBoxObject_h__
  10. #include "nsIBoxObject.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDocShell; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIIFrameBoxObject */
  21. #define NS_IIFRAMEBOXOBJECT_IID_STR "dd9ab9be-fed3-4bff-a72d-5390d52dd887"
  22.  
  23. #define NS_IIFRAMEBOXOBJECT_IID \
  24.   {0xdd9ab9be, 0xfed3, 0x4bff, \
  25.     { 0xa7, 0x2d, 0x53, 0x90, 0xd5, 0x2d, 0xd8, 0x87 }}
  26.  
  27. class NS_NO_VTABLE nsIIFrameBoxObject : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IIFRAMEBOXOBJECT_IID)
  31.  
  32.   /* readonly attribute nsIDocShell docShell; */
  33.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) = 0;
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIIFRAMEBOXOBJECT \
  39.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIIFRAMEBOXOBJECT(_to) \
  43.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return _to GetDocShell(aDocShell); } 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_NSIIFRAMEBOXOBJECT(_to) \
  47.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocShell(aDocShell); } 
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsIFrameBoxObject : public nsIIFrameBoxObject
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIIFRAMEBOXOBJECT
  58.  
  59.   nsIFrameBoxObject();
  60.  
  61. private:
  62.   ~nsIFrameBoxObject();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsIFrameBoxObject, nsIIFrameBoxObject)
  70.  
  71. nsIFrameBoxObject::nsIFrameBoxObject()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsIFrameBoxObject::~nsIFrameBoxObject()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* readonly attribute nsIDocShell docShell; */
  82. NS_IMETHODIMP nsIFrameBoxObject::GetDocShell(nsIDocShell * *aDocShell)
  83. {
  84.     return NS_ERROR_NOT_IMPLEMENTED;
  85. }
  86.  
  87. /* End of implementation class template. */
  88. #endif
  89.  
  90. nsresult
  91. NS_NewIFrameBoxObject(nsIBoxObject** aResult);
  92.  
  93. #endif /* __gen_nsIIFrameBoxObject_h__ */
  94.